package com.ruoyi.quartz.task;

import com.ruoyi.quartz.service.impl.SysJobShukeImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * 定时任务调度测试
 *
 * @author ruoyi
 */
@Component("shukeTask")
public class ShukeTask {


    @Autowired
    SysJobShukeImpl sysJobShuke;
    public void shukeLogin()
    {
        sysJobShuke.shukeLogin();
        System.out.println("执行登录事件");
    }

    public void shukeLook()
    {
        sysJobShuke.shukeLook();
        System.out.println("执行查看页面事件");
    }



}
